﻿using System;
using System.ComponentModel.DataAnnotations;
namespace Manager.Model.Admin
{
    /// <summary>
    /// M_Introduce:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class M_Introduce
    {
        public M_Introduce()
        { }
        #region Model
        private int _introduceid;
        private string _introducetitle;
        private string _introducecontent;
        private string _introduceaddress;
        private string _introducetel;
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="编号")]
        public int IntroduceID
        {
            set { _introduceid = value; }
            get { return _introduceid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "协会标题")]
        [StringLength(100)]
        public string IntroduceTitle
        {
            set { _introducetitle = value; }
            get { return _introducetitle; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "协会介绍")]
        public string IntroduceContent
        {
            set { _introducecontent = value; }
            get { return _introducecontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "协会地址")]
        [StringLength(100)]
        public string IntroduceAddress
        {
            set { _introduceaddress = value; }
            get { return _introduceaddress; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "协会电话")]
        [StringLength(50)]
        [RegularExpression(@"(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}", ErrorMessage = "请输入正确的电话号码")]
        public string IntroduceTel
        {
            set { _introducetel = value; }
            get { return _introducetel; }
        }
        #endregion Model

    }
}

